package com.fable.dal.mapper;

import com.fable.dal.model.ProgressDO;
import com.fable.dal.model.ProgressQuery;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * MyBatis Mapper for Progress.
 */
public interface ProgressMapper {
    /**
     * query count by query condition.
     */
    int countByQuery(ProgressQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(ProgressQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(ProgressDO record);

    /**
     * insert selective.
     */
    int insertSelective(ProgressDO record);

    /**
     * select by query condition.
     */
    List<ProgressDO> selectByQuery(ProgressQuery query);

    /**
     * select by primary key.
     */
    ProgressDO selectByPrimaryKey(Integer id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective(@Param("record") ProgressDO record, @Param("query") ProgressQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(@Param("record") ProgressDO record, @Param("query") ProgressQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(ProgressDO record);
}